<!--同一行，等比例缩放，:span属性-->
<template>
  <div>
    <!--      使用Container 布局容器-->
    <el-container>
      <el-header>测试日报</el-header>
    </el-container>
    <!--    表单  -->
    <el-form>
<!--      行-->
      <el-row :gutter="50" >
<!--        宽度:span=24控制缩放-->
        <el-col :span="12" >
          <!--el-form-item表单域        -->
          <el-form-item label="手机号">标题文本</el-form-item>
          <el-form-item label="请输入信息">
            <el-input type="textarea"></el-input>
          </el-form-item>
        </el-col>
        <!--        宽度:span=24控制缩放-->
        <el-col :span="12" >
          <!--el-form-item表单域        -->
          <el-form-item label="收件人">
<!--            第一行-->
            <el-row :gutter="10" type="flex">
              <el-col :span="10">
                <el-input placeholder="手机号"></el-input>
              </el-col>
              <el-col :span="24">
                <el-input placeholder="姓名"></el-input>
              </el-col>
            </el-row>
<!--            第二行-->
            <el-row>
              <el-input placeholder="文本框"></el-input>
            </el-row>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
</script>
<!--样式-->
<style lang="css" scoped>
  .line{
    text-align: left;
    margin-top: 5px;
  }
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }

</style>

